<?php
namespace app\rbac\model;
use think\Model;

/**
* 角色与权限的关系模型
*/
class UserRole extends Model
{
	protected $pk = 'id';
	protected $table = 'user_role';
	protected $insert = ['create_time'];

	protected function setCreateTimeAttr($value){
		return time();
	}
}